package com.dc.flow.state

sealed class PageState<out R> {

    data class ShowContent<out T>(val content: T): PageState<T>()
    data class Error(val exception: Throwable): PageState<Nothing>()
    data class Loading(val loadingMsg: String = ""): PageState<Nothing>()
    data class Empty(val emptyString: String = ""): PageState<Nothing>()
}
